package com.motong.gongdan.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.motong.gongdan.entity.LampTypeNotice;
import com.motong.gongdan.mapper.LampTypeNoticeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Set;

@Service
public class LampTypeNoticeService extends ServiceImpl<LampTypeNoticeMapper, LampTypeNotice> {

    @Resource
    private LampTypeNoticeMapper lampTypeNoticeMapper;

    /**
     * 根据联络灯id获取联络灯详情
     *
     * @param lampTypeIds 联络灯类型id集合
     * @return 联络灯详情
     */
    public List<LampTypeNotice> listByLampTypeIds(Set<Long> lampTypeIds) {
        return lampTypeNoticeMapper.listByLampTypeIds(lampTypeIds);
    }
}
